#!usr/bin/node

const fs = require('fs');

const dir = process.argv[2];

const w = fs.watch(dir,(e)=>{
  console.dir(e);
});

process.on('SIGINT',()=>{
  w.close();
  process.exit(0);
});
